package com.exam.serviceimpl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.exam.entity.Interview;
import com.exam.entity.Student;
import com.exam.mapper.InterviewMapper;
import com.exam.service.InterviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wanghuipeng
 * @date 2022/5/11
 * @apiNote
 */

@Service
public class InterviewServiceImpl implements InterviewService {

    @Autowired
    private InterviewMapper interviewMapper;

    @Override
    public int updateRemasks(int id,String remasks) {
        return interviewMapper.update(id,remasks);
    }

    @Override
    public List<Interview> selectAll() {
        return interviewMapper.selectAll();
    }

    @Override
    public boolean save(Interview interview) {
        return interviewMapper.save(interview);
    }


}
